import request from '@/utils/request'
export default {
  //查询设施列表
  queryFacility(data) {
    return request({
      url: '/v3/facility/facility/queryByCondition',
      method: 'POST',
      data
    })
  },
  //获取Rtu
  queryPageListRtuData(params) {
    let { page, size } = params
    return request({
      url: `/iotApplication/rtuData/queryPageListRtuData?page=${page || 1}&size=${size || 4}&rtuTypeId=2&ownershipId=156`,
      method: 'get',
    })
  }
}